﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.UserPermissions
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class User : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPwd { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? UserNikeName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? UserSex { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? UserRealName { get; set; }
        /// <summary>
        /// 证件号类型
        /// </summary>
        public string? UserCardType { get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string? UserCard { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? UserPhone { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? UserEmail { get; set; }
        /// <summary>
        /// 所在地
        /// </summary>
        public string? UserAddress { get; set; }
        /// <summary>
        /// 照片/头像
        /// </summary>
        public string? UserPhoto { get; set; }

    }
}
